<link rel="stylesheet" href="${request.contextPath}/static/oms/default/plugins/zTree/css/zTreeStyle/zTreeStyle.css" type="text/css">
<link rel="stylesheet" href="//cdn.bootcss.com/jquery-treegrid/0.2.0/css/jquery.treegrid.min.css" />

<div class="row">
	<div class="col-md-4">
		<div class="box">
			<div class="box-header with-border">
				<h3 class="box-title">字典</h3>
			</div>
			<!-- /.box-header -->
			<div class="box-body">
				<ul id="dictionaryTree" class="ztree" style="margin-top: 10px;
														    border: 1px solid #617775;
														    background: #f0f6e4;
														    height: 360px;
														    overflow-y: scroll;
														    overflow-x: auto;"></ul>
			</div>
			<!-- /.box-body -->
			<div class="box-footer clearfix">

			</div>
		</div>
	</div>
	<div class="col-md-8">
		<div class="box">
			<div class="box-header">
				<h3 class="box-title">字典数据管理</h3>
				<div class="box-tools pull-right">
					<@shiro.hasPermission name="system:config:param:save">
						<a onclick="paramToListAjax();" class="btn btn-sm btn-primary" target="modal" modal="lg" href="${request.contextPath}/system/config/param/add">添加</a>
					</@shiro.hasPermission>
			</div>
		</div>
		<div class="box-body">
			<div class="clearfix" style="padding-top: 15px;">
				<table id="dictionaryDataTreeTable" class="table table-bordered table-striped">
					<thead>
					<tr>
						<th class="col-md-2 pd-l-lg">
							<span class="pd-l-sm ml20"></span>字典名称
						</th>
						<th class="col-md-2">字典编码</th>
						<th class="col-md-2">字典值</th>
						<th class="col-md-4">描述</th>
						<th class="col-md-2">字典类型</th>
						<th class="col-md-1">排序</th>
						<th class="col-md-2">操作</th>
					</tr>
					</thead>
					<tbody>

					</tbody>
				</table>
			</div>
		</div>
	</div>
</div>
</div>
<script type="text/javascript" src="${request.contextPath}/static/oms/default/plugins/zTree/jquery.ztree.all.js"></script>
<script type="text/javascript" src="//cdn.bootcss.com/jquery-treegrid/0.2.0/js/jquery.treegrid.min.js"></script>
<!--<script>

	var parmissions = new Array("first", "second", "third");
	function hasPermission(parmissions,permission){
		permission
				var a = new Array("first", "second", "third")
		for(var i = 0;i < a.length; i++) {
		document.write(a[i]+",");
		}

	}
</script>-->
<script type="text/javascript" src="${request.contextPath}/static/oms/default/dist/system/config/dictionary/index.js"></script>
